package com.juxing.service.liveCenter.dao.impl;

import org.springframework.stereotype.Repository;

import com.juxing.service.liveCenter.bean.LiveIndexBean;
import com.juxing.service.liveCenter.dao.ILiveIndexDao;

@Repository
public class LiveIndexDaoImpl extends AbstractBaseDao implements ILiveIndexDao {

	@Override	
	public void insert(LiveIndexBean bean) {
		this.insert("LiveIndex.insert", bean);
	}

	@Override
	public LiveIndexBean queryByLiveId(long liveId) {
		return this.selectOne("LiveIndex.queryByLiveId", liveId);
	}
}